﻿using ProjBackEnd.Areas.BizProj.Models;
using ProjBackEnd.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ProjBackEnd.Areas.Statistics.Models
{
    /// <summary>
    /// 项目统计应答结果集
    /// </summary>
    public class ResultStProj : BaseResultInfoPaging
    {
        /// <summary>
        /// 项目统计信息列表
        /// </summary>
        public List<ProjInfoExtSt> projstlist { get; set; } = new List<ProjInfoExtSt>();
    }

    /// <summary>
    /// iv 项目扩展信息，用于统计
    /// </summary>
    public class ProjInfoExtSt : ProjInfoExt
    {
        /// <summary>
        /// 应付合计
        /// </summary>
        public decimal amt_paytotal { get; set; }
        /// <summary>
        /// 应收合计
        /// </summary>
        public decimal amt_rectotal { get; set; }
    }

    /// <summary>
    /// 业务费用统计应答结果集
    /// </summary>
    public class ResultStBizFee : BaseResultInfo
    {
        /// <summary>
        /// 业务费用统计列表
        /// </summary>
        public List<BizFeeExtInfoSt> feestlist { get; set; } = new List<BizFeeExtInfoSt>();
    }

    /// <summary>
    /// iv 费用明细扩展信息，用于统计
    /// </summary>
    public class BizFeeExtInfoSt : BizFeeExtInfo
    {
        /// <summary>
        /// 归属账单的总金额
        /// </summary>
        public decimal amt_bill { get; set; }
        /// <summary>
        /// 归属账单下的已结算金额
        /// </summary>
        public decimal amt_settled_total { get; set; }
        /// <summary>
        /// 按结算比例均摊下来的已结算金额
        /// </summary>
        public decimal amt_settled { get; set; }
        /// <summary>
        /// 归属账单结算比例
        /// </summary>
        public decimal settlepercent { get; set; }

    }


}